-
Home
-
Leat
-
2.2.3
-
Code
-
Classes
- EarnRules
| Total Complexity |
49 |
| Dependencies |
0 |
| Dependents |
4 |
| Total lines |
396 |
| Lines of code |
276 |
| Logical lines of code |
124 |
| Comment lines |
78 |
| Methods |
12 |
| Properties |
0 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_svg() |
A |
51 |
9 |
30 |
| get_formatted_post() |
S |
35 |
2 |
104 |
| get_label_default() |
S |
52 |
7 |
26 |
| get_label_description() |
S |
56 |
7 |
18 |
| get_applicable_place_order_rule() |
S |
56 |
6 |
19 |
| get_social_network_label() |
S |
62 |
4 |
12 |
| get_social_network_description() |
S |
62 |
4 |
12 |
| get_earn_rules_by_type() |
S |
57 |
2 |
18 |
| has_user_claimed_rule() |
S |
56 |
2 |
18 |
| get_post_meta_data() |
S |
74 |
2 |
4 |
| get_by_id() |
S |
69 |
2 |
7 |
| is_rule_claimable_once() |
S |
65 |
2 |
8 |